/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #e9f0f7, #f9f9f9);
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
.nav {
    background: linear-gradient(to right, #4A90E2, #357ABD);
    color: white;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navlist ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.navlist ul li a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.3s, transform 0.2s;
}

.navlist ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 容器 */
.container {
    padding: 30px;
    max-width: 1000px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease-in;
}

/* 内容标题 */
.container h1, .container h2 {
    color: #357ABD;
    text-align: center;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: bold;
}

/* 段落 */
.container p {
    line-height: 1.8;
    font-size: 15px;
    color: #444;
    margin-bottom: 1em;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
